<template>
    <div class="x-page" :title="title">
      <slot></slot>
    </div>
</template>

<script>
export default {
  name: 'XPage',
  props: {
    title: {
      type: String,
      default: ''
    }
  },
  data() {
    return {}
  }
}
</script>

<style scoped>
.x-page{
  background-color: rgba(0, 0, 0, 0.5);
}
</style>
